package com.qsd.StudentSystem.dao;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qsd.common.po.Discussion;
import com.qsd.common.po.FullInTheBlank;
import com.qsd.common.po.Judgment;
import com.qsd.common.po.MultipleChoice;
import com.qsd.common.po.OneChoice;
import com.qsd.common.po.Paper;
import com.qsd.common.pojo.PaperEntity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PaperDao extends BaseMapper<PaperEntity> {

	Paper queryById(Integer id);
	List<OneChoice> queryOneChoicesByPaperId(Integer id);
	List<MultipleChoice> queryMultipleChoicesByPaperId(Integer id);
	List<Judgment> queryJudgmentsByPaperId(Integer id);
	List<FullInTheBlank> queryFullInTheBlanksByPaperId(Integer id);
	List<Discussion> queryDiscussionsByPaperId(Integer id);
	
}
